﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SubPage.Master" AutoEventWireup="true" CodeBehind="Activity.aspx.cs" Inherits="School.WebPages.Research.Activity" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register TagPrefix="uc" TagName="MainLeft" Src="~/Controls/MainLeft.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../../CSS/list.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        #activityList{ padding:0 10px}
        #activityList li{ list-style:none; background-image:url(../../images/event_dot.png); line-height:20px;margin-top:10px;
                          background-repeat:no-repeat; padding-left:10px; background-position:0 8px;}
        .leader_title{ height:25px; border-bottom:solid 2px #E4A635; padding-left:15px; font-family:微软雅黑; font-size:16px; color:#005689;}
        #ctl00_ContentPlaceHolder1_anp_activity{ margin-top:10px;}
    </style>  
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="main_container">
        <div class="float_left main_left">
            <uc:MainLeft runat="server" id="mainleft1" />
        </div>
        <div class="float_right main_right">
            <div class="article_nav link_3">当前位置：<a href="/WebPages/Research/Activity.aspx?parentCategory=31&categories=6">学术科研</a> > 科研动态</div>
            <div class="article_content_main">
                <div class="leader_title">科研动态</div>
                <ul id="activityList">
                    <asp:Repeater ID="rep_activity" runat="server" 
                        onitemdatabound="rep_activity_ItemDataBound">
                        <ItemTemplate>
                            <li runat="server" >
                                <asp:HiddenField ID="hlID" runat="server" Value='<%#Eval("ArticleID") %>' />
                                <asp:Label ID="lblCon" runat="server"><%#Eval("Content") %>[ <%#Eval("UpdateTime","{0:yyyy-MM-dd}") %> ]</asp:Label>                                
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
                <div class="pager_container">
                    <webdiyer:AspNetPager runat="server" ID="anp_activity" PageSize="15" 
                        onpagechanged="anp_activity_PageChanged"
                        CustomInfoHTML="每页%PageSize%条，%CurrentPageIndex%/%PageCount%页" 
                        FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" 
                        ShowCustomInfoSection="Left" SubmitButtonText="Go" TextAfterPageIndexBox="页"  
                        CustomInfoClass="customInfo" CustomInfoSectionWidth="100"
                        TextBeforePageIndexBox="转到">
                    </webdiyer:AspNetPager>
                </div>
                <div class="clear"></div>
            </div>
        </div>
        <div class="clear"></div>
    </div>
</asp:Content>
